﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ThanNhanTao.Server.Entities
{
    public class HoSoNhanSuEntities
    {
        public int IdHoSoNhanSu { get; set; }
        public string Ho { get; set; }
        public string Ten { get; set; }
        public string HoVaTen 
        {
            get
            {
                return (Ho + " " + Ten);
            }
        }
        public bool GioiTinh { get; set; }
        public string GioiTinhString { 
            get
            {
                if (GioiTinh)
                    return "Nam";
                else
                    return "Nữ";
            }
        }
        
        public DateTime? NgaySinh { get; set; }
        public int NamSinh { get; set; }
        public short Tuoi { get; set; }
        public string MaDanToc { get;set; }
        public string TenDanToc { get; set; }
        public string TinhTrangHonNhan { get; set; }
        public string DiaChiThuongTru{ get; set; }
        public string NguyenQuan{ get; set; }
        public string SoHieuCongChuc { get; set; }
        public string DienThoaiDiDong { get; set; }
        public string DiaChiEmail { get; set; }
        public bool LaDangVien { get; set; }
        public DateTime? NgayKetNapDang { get; set; }
        public DateTime? NgayChinhThucVaoDang { get; set; }
        public string ChucVuDang { get; set; }
    }
}
